//
//  Created by Jesse Squires
//  http://www.jessesquires.com
//
//
//  Documentation
//  http://cocoadocs.org/docsets/JSQMessagesViewController
//
//
//  GitHub
//  https://github.com/jessesquires/JSQMessagesViewController
//
//
//  License
//  Copyright (c) 2014 Jesse Squires
//  Released under an MIT license: http://opensource.org/licenses/MIT
//

#import <Foundation/Foundation.h>

#import "JSQMessageData.h"
#import "JSQMessageModel.h"

@interface JSQMessage : NSObject <JSQMessageData, NSCoding, NSCopying>

@property (strong, nonatomic) JSQMessageModel *messageModel;

/**
 *  是否媒体消息
 */
@property (nonatomic, assign, readonly) BOOL mediaMessage;
/**
 *  媒体消息
 */
@property (strong, nonatomic) id<JSQMessageMediaData> mediaData;



#pragma mark - Initialization

+ (instancetype)messageWithModel:(JSQMessageModel *)messageModel withMessageMediaData:(id<JSQMessageMediaData>)messageMediaData;



@end
